Метод | Описание | |
---|---|---|
IsApiContractPresent ( string contractName, ushort majorVersion ) : bool |
Returns true or false to indicate whether the API contract with the specified name and major version number is present.
|
|
IsApiContractPresent ( string contractName, ushort majorVersion, ushort minorVersion ) : bool |
Returns true or false to indicate whether the API contract with the specified name and major and minor version number is present.
|
|
IsEnumNamedValuePresent ( string enumTypeName, string valueName ) : bool |
Returns true or false to indicate whether a specified named constant is present for a specified enumeration.
|
|
IsEventPresent ( string typeName, string eventName ) : bool |
Returns true or false to indicate whether a specified event is present for a specified type.
|
|
IsMethodPresent ( string typeName, string methodName ) : bool |
Returns true or false to indicate whether a specified method is present for a specified type.
|
|
IsMethodPresent ( string typeName, string methodName, uint inputParameterCount ) : bool |
Returns true or false to indicate whether a specified method overload with the specified number of input parameters is present for a specified type.
|
|
IsPropertyPresent ( string typeName, string propertyName ) : bool |
Returns true or false to indicate whether a specified property (writeable or read-only) is present for a specified type.
|
|
IsReadOnlyPropertyPresent ( string typeName, string propertyName ) : bool |
Returns true or false to indicate whether a specified read-only property is present for a specified type.
|
|
IsTypePresent ( string typeName ) : bool |
Returns true or false to indicate whether a specified type is present.
|
|
IsWriteablePropertyPresent ( string typeName, string propertyName ) : bool |
Returns true or false to indicate whether a specified writeable property is present for a specified type.
|
Метод | Описание | |
---|---|---|
ApiInformation ( ) : System |
public static IsApiContractPresent ( string contractName, ushort majorVersion ) : bool | ||
contractName | string | The name of the API contract. |
majorVersion | ushort | The major version number of the API contract. |
Результат | bool |
public static IsApiContractPresent ( string contractName, ushort majorVersion, ushort minorVersion ) : bool | ||
contractName | string | The name of the API contract. |
majorVersion | ushort | The major version number of the API contract. |
minorVersion | ushort | The minor version number of the API contract. |
Результат | bool |
public static IsEnumNamedValuePresent ( string enumTypeName, string valueName ) : bool | ||
enumTypeName | string | The namespace-qualified name of the type. |
valueName | string | The name of the constant. |
Результат | bool |
public static IsEventPresent ( string typeName, string eventName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
eventName | string | The name of the event. |
Результат | bool |
public static IsMethodPresent ( string typeName, string methodName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
methodName | string | The name of the method. |
Результат | bool |
public static IsMethodPresent ( string typeName, string methodName, uint inputParameterCount ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
methodName | string | The name of the method. |
inputParameterCount | uint | The number of input parameters for the overload. |
Результат | bool |
public static IsPropertyPresent ( string typeName, string propertyName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
propertyName | string | The name of the property. |
Результат | bool |
public static IsReadOnlyPropertyPresent ( string typeName, string propertyName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
propertyName | string | The name of the property. |
Результат | bool |
public static IsTypePresent ( string typeName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
Результат | bool |
public static IsWriteablePropertyPresent ( string typeName, string propertyName ) : bool | ||
typeName | string | The namespace-qualified name of the type. |
propertyName | string | The name of the property. |
Результат | bool |