ShapeElement.GetSubFieldAccessibleName Method
Gets the name of a child field in the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function GetSubFieldAccessibleName ( _
field As ShapeField, _
subfield As ShapeSubField _
) As String
'Usage
Dim instance As ShapeElement
Dim field As ShapeField
Dim subfield As ShapeSubField
Dim returnValue As String
returnValue = instance.GetSubFieldAccessibleName(field, _
subfield)
public virtual string GetSubFieldAccessibleName(
ShapeField field,
ShapeSubField subfield
)
public:
virtual String^ GetSubFieldAccessibleName(
ShapeField^ field,
ShapeSubField^ subfield
)
public function GetSubFieldAccessibleName(
field : ShapeField,
subfield : ShapeSubField
) : String
Parameters
field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent field for the child field.
subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubFieldThe child field.
Return Value
Type: System.String
The name of a child field in the shape.
.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.