System.Type.Missing

L

laiseng

i wanted to use this Find.Execute method but it requires me to have ref
missing.
but inorder to use missing i need to include using System.Type namespace

my VS2005 (with VSTO2005SE installed) dont allow me to add using
System.Type.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

if (rng.Find.Execute(ref findText,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing,
ref missing, ref missing))
{
 
C

Cindy M.

Hi Laiseng,

VSTO predefines the alias missing for System.Type.Missing. If you're
working in a VSTO 2005 SE project, in the ThisAddin class, you can just use
missing.
I wanted to use this Find.Execute method but it requires me to have ref
missing.
but inorder to use missing i need to include using System.Type namespace

my VS2005 (with VSTO2005SE installed) dont allow me to add using
System.Type.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

if (rng.Find.Execute(ref findText,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref
missing,
ref missing, ref missing))
{

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top