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!

ICodeSourceFile.ShortestClassName

Determines the shortest name using the schema that will uniquely identify the specified class, given any namesapce and imports in this file.

[Visual Basic]
Function ShortestClassName( _
   ByVal cls As ICodeClass _
) As String
[C#]
string ShortestClassName(
   ICodeClass cls
);
[C++]
String* ShortestClassName(
   ICodeClass* cls
) = 0;
[JScript]
function ShortestClassName(
   cls : ICodeClass
) : String;

Parameters

cls
The class to determine the name for.

Return Value

Short name to reference the class.

See Also

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