UserInteractionServices.GetElementName Method (IModelElement, DisplayStyle)
Gets the element name using a different display style.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overridable Function GetElementName ( _
element As IModelElement, _
style As DisplayStyle _
) As String
'Usage
Dim instance As UserInteractionServices
Dim element As IModelElement
Dim style As DisplayStyle
Dim returnValue As String
returnValue = instance.GetElementName(element, _
style)
public virtual string GetElementName(
IModelElement element,
DisplayStyle style
)
public:
virtual String^ GetElementName(
IModelElement^ element,
DisplayStyle style
)
public function GetElementName(
element : IModelElement,
style : DisplayStyle
) : String
abstract GetElementName :
element:IModelElement *
style:DisplayStyle -> string
override GetElementName :
element:IModelElement *
style:DisplayStyle -> string
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
- style
Type: Microsoft.Data.Schema.Extensibility.DisplayStyle
The display style
Return Value
Type: System.String
.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.