SilverlightElement.GetNativeControlType Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides UITechnologyElement.GetNativeControlType(NativeControlTypeKind).
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
Public Overrides Function GetNativeControlType ( _
nativeControlTypeKind As NativeControlTypeKind _
) As Object
public override Object GetNativeControlType(
NativeControlTypeKind nativeControlTypeKind
)
public:
virtual Object^ GetNativeControlType(
NativeControlTypeKind nativeControlTypeKind
) override
abstract GetNativeControlType :
nativeControlTypeKind:NativeControlTypeKind -> Object
override GetNativeControlType :
nativeControlTypeKind:NativeControlTypeKind -> Object
public override function GetNativeControlType(
nativeControlTypeKind : NativeControlTypeKind
) : Object
Parameters
- nativeControlTypeKind
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.NativeControlTypeKind
Return Value
Type: System.Object
Returns Object.
Implements
IUITechnologyElement.GetNativeControlType(NativeControlTypeKind)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace