PortHasBasePort.SetBaseClass Method
Sets BaseClass.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetBaseClass ( _
element As Port, _
newBasePort As Port _
)
public static void SetBaseClass(
Port element,
Port newBasePort
)
public:
static void SetBaseClass(
Port^ element,
Port^ newBasePort
)
static member SetBaseClass :
element:Port *
newBasePort:Port -> unit
public static function SetBaseClass(
element : Port,
newBasePort : Port
)
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
- newBasePort
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
.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.