Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a collection of shape fields for the shape type.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Function CreateShapeFields As List(Of ShapeField)
protected List<ShapeField> CreateShapeFields()
protected:
List<ShapeField^>^ CreateShapeFields()
member CreateShapeFields : unit -> List<ShapeField>
protected function CreateShapeFields() : List<ShapeField>
Return Value
Type: List<ShapeField>
A collection of shape fields for the shape type.
Remarks
This method calls InitializeShapeFields() after instantiating an empty shape field collection.
Examples
public override global::System.Collections.Generic.IList<DslDiagrams::ShapeField> ShapeFields
{
get
{
if (shapeFields == null)
{
shapeFields = CreateShapeFields();
}
return shapeFields;
}
}
.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.