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.
Sets the model element that is displayed by the presentation element.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetSubject ( _
element As PresentationElement, _
newSubject As ModelElement _
)
public static void SetSubject(
PresentationElement element,
ModelElement newSubject
)
public:
static void SetSubject(
PresentationElement^ element,
ModelElement^ newSubject
)
static member SetSubject :
element:PresentationElement *
newSubject:ModelElement -> unit
public static function SetSubject(
element : PresentationElement,
newSubject : ModelElement
)
Parameters
- newSubject
Type: Microsoft.VisualStudio.Modeling.ModelElement
.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.