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!

Enum.ToType

Converts the current value to a specified type based on the underlying type.

[Visual Basic]
Overridable Public Function ToType( _
   ByVal type As Type _
) As Object
[C#]
public virtual object ToType(
   Type type
);
[C++]
public: virtual Object* ToType(
   Type* type
);
[JScript]
public function ToType(
   type : Type
) : Object;

Parameters

type
The type to convert to.

Return Value

The converted value.

Remarks

Uses Convert to perform the conversion.

See Also

Enum Class | Enum Members | System Namespace