PropertyExtension<TTargetElementType>.GetTargetElement Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the strongly typed element given a component.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
'Declaration
Protected Function GetTargetElement ( _
component As Object _
) As TTargetElementType
protected TTargetElementType GetTargetElement(
Object component
)
protected:
TTargetElementType GetTargetElement(
Object^ component
)
member GetTargetElement :
component:Object -> 'TTargetElementType
protected function GetTargetElement(
component : Object
) : TTargetElementType
Parameters
component
Type: System.ObjectThe component
Return Value
Type: TTargetElementType
The strongly typed element
.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
PropertyExtension<TTargetElementType> Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace