ShapeElement.CreateClassStyleSet Yöntem
Şekil türü için ayarlanmış bir sınıf stil oluşturur.
Ad alanı: Microsoft.VisualStudio.Modeling.Diagrams
Derleme: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)
Sözdizimi
'Bildirim
Protected Overridable Function CreateClassStyleSet As StyleSet
protected virtual StyleSet CreateClassStyleSet()
Dönüş Değeri
Tür: Microsoft.VisualStudio.Modeling.Diagrams.StyleSet
Sınıf stil için Şekil türünü ayarlayın.
Örnekler
protected override DslDiagrams::StyleSet ClassStyleSet
{
get
{
if (classStyleSet == null)
{
classStyleSet = CreateClassStyleSet();
}
return classStyleSet;
}
}
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.