OperationContractGenerationContext.DeclaringType Egenskap

Definition

Hämtar deklareringstypen för den aktuella åtgärden.

public:
 property System::CodeDom::CodeTypeDeclaration ^ DeclaringType { System::CodeDom::CodeTypeDeclaration ^ get(); };
public System.CodeDom.CodeTypeDeclaration DeclaringType { get; }
member this.DeclaringType : System.CodeDom.CodeTypeDeclaration
Public ReadOnly Property DeclaringType As CodeTypeDeclaration

Egenskapsvärde

Deklareringstypen för den aktuella åtgärden.

Kommentarer

Använd egenskapen DeclaringType för att undersöka eller ändra kodtypsdeklarationen för den aktuella åtgärden.

Gäller för