NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ICodeClass.FindProperty

Finds the property of the class that has the specified name, type, and modifiers.

[Visual Basic]
Function FindProperty( _
   ByVal name As String, _
   ByVal type As ICodeClass, _
   ByVal modifiers As Integer _
) As ICodeProperty
[C#]
ICodeProperty FindProperty(
   string name,
   ICodeClass type,
   int modifiers
);
[C++]
ICodeProperty* FindProperty(
   String* name,
   ICodeClass* type,
   int modifiers
) = 0;
[JScript]
function FindProperty(
   name : String,
   type : ICodeClass,
   modifiers : int
) : ICodeProperty;

Parameters

name
The name of the property to find.
type
The data type of the property to find.
modifiers
The modifiers to search for, or MemberModifier.UNKNOWN if you don't want to specify the modifiers.

Return Value

An ICodeProperty representing the property of the class matching the specified property attributes. If no matching property is found, a null reference (in Visual Basic Nothing) is returned.

See Also

ICodeClass Interface | ICodeClass Members | System.ComponentModel.Design.CodeModel Namespace