_PropertyInfo.GetSetMethod 메서드

정의

버전에 관계없이 GetSetMethod 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

오버로드

GetSetMethod(Boolean)

버전에 관계없이 GetSetMethod(Boolean) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

GetSetMethod()

버전에 관계없이 GetSetMethod() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

GetSetMethod 메서드는 반환을 MethodInfo 나타내는 개체입니다는 set 이 속성에 대 한 접근자입니다.

GetSetMethod(Boolean)

버전에 관계없이 GetSetMethod(Boolean) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 System::Reflection::MethodInfo ^ GetSetMethod(bool nonPublic);
public System.Reflection.MethodInfo GetSetMethod (bool nonPublic);
abstract member GetSetMethod : bool -> System.Reflection.MethodInfo
Public Function GetSetMethod (nonPublic As Boolean) As MethodInfo

매개 변수

nonPublic
Boolean

public이 아닌 접근자를 반환하려면 true이고, 그렇지 않으면 false입니다.

반환

MethodInfo

다음 표에 나와 있는 값 중 하나입니다.

의미
이 속성에 대한 MethodInfo 메서드를 나타내는 Set 개체입니다. set 접근자는 public입니다. 또는 nonPublic 매개 변수는 true이고 set 접근자는 public이 아닙니다.
null nonPublic 매개변수는 true이지만 속성은 읽기 전용입니다. 또는 nonPublic 매개 변수는 false이고 set 접근자는 public이 아닙니다. 또는 set 접근자가 없습니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

GetSetMethod 메서드가 반환 되는 set 이 속성에 대 한 접근자입니다.

적용 대상

GetSetMethod()

버전에 관계없이 GetSetMethod() 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

public:
 System::Reflection::MethodInfo ^ GetSetMethod();
public System.Reflection.MethodInfo GetSetMethod ();
abstract member GetSetMethod : unit -> System.Reflection.MethodInfo
Public Function GetSetMethod () As MethodInfo

반환

MethodInfo

MethodInfo 접근자가 public인 경우 이 속성에 대한 Set 메서드를 나타내는 set 개체입니다. 또는 null 접근자가 public이 아니면 set입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

합니다 GetSetMethod 메서드는 공용 set 이 속성에 대 한 접근자입니다.

적용 대상