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 Members

Properties

BaseClass The base class that the class derives from.
FullName The namespace and name of the class.

Methods

ClassForName Creates an ICodeClass object representing the class with the name specified.
CreateDataMember Creates an ICodeDataMember object to represent a data member in the class.
CreateDataMemberAfter Creates an ICodeDataMember object representing a data member in the class and positions it immediately following the specified element.
CreateDataMemberBefore Creates an ICodeDataMember object representing a data member in the class and positions it immediately before the element specified.
CreateDataMemberFirst Creates an ICodeDataMember object representing a data member in the class and positions it in the first available location.
CreateDataMemberLast Creates an ICodeDataMember object representing a data member in the class and positions it in the last available location.
CreateMethod Creates an ICodeMethod object representing a method in the class.
CreateMethodAfter Creates an ICodeMethod object representing a method in the class and positions it immediately after the specified element.
CreateMethodBefore Creates an ICodeMethod object representing a method in the class and positions it immediately before the specified element.
CreateMethodFirst Creates an ICodeMethod object representing a method in the class and positions it in the first available location.
CreateMethodLast Creates an ICodeMethod object representing a method in the class and positions it in the last available location.
FindAllDataMembers Finds all data members of the class.
FindAllMethods Finds all methods declared in this class.
FindAllProperties Finds all properties declared in the class.
FindDataMember Overloaded. Finds the data member in the class that has the specified name, type, and modifiers.
FindDataMembers Finds the data members in the class matching the specified type.
FindDataMembersDerivedFrom Finds the data members in the class whose type is derived from the specified type.
FindMethod Overloaded. Finds the method in the class with the specified name, arguments, return type, and modifiers.
FindMethods Overloaded. Finds all the methods in the class with the specified arguments and return type.
FindProperties Overloaded. Finds all properties in the class with the specified name.
FindProperty Finds the property of the class that has the specified name, type, and modifiers.
GetInterfaces Gets all the interfaces that the class implements.
GetMembers Gets the collection of members that the class contains.
GetNamespace Gets the namespace that the class is in.
IsInterface Gets whether or not this object represents an interface rather than a true class.
SetInterfaces Sets all the interfaces that the class implements.
SetNamespace Sets the namespace that the class is in.

See Also

ICodeClass Interface | System.ComponentModel.Design.CodeModel Namespace