共用方式為


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

.NET Framework Security

See Also

Reference

RolePlayerConnectDirectiveAcceptsClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace