RolePlayerConnectDirectiveAcceptsClass.SetAcceptingClass Method
Sets AcceptingClass.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Sub SetAcceptingClass ( _
element As RolePlayerConnectDirective, _
newAcceptingClass As DomainClass _
)
public static void SetAcceptingClass(
RolePlayerConnectDirective element,
DomainClass newAcceptingClass
)
public:
static void SetAcceptingClass(
RolePlayerConnectDirective^ element,
DomainClass^ newAcceptingClass
)
static member SetAcceptingClass :
element:RolePlayerConnectDirective *
newAcceptingClass:DomainClass -> unit
public static function SetAcceptingClass(
element : RolePlayerConnectDirective,
newAcceptingClass : DomainClass
)
Parameters
- newAcceptingClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
.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.