ServiceKnownTypeAttribute.MethodName Property


Gets the name of a method that returns the collection of known types.

 property System::String ^ MethodName { System::String ^ get(); };
public string MethodName { get; }
member this.MethodName : string
Public ReadOnly Property MethodName As String

Property Value

The name of the method that returns the known types.


The MethodName must be the name of a method on the type specified by the DeclaringType property.

Applies to