Context.GetProperty(String) 方法
定义
返回由名称指定的特定上下文属性。Returns a specific context property, specified by name.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
virtual System::Runtime::Remoting::Contexts::IContextProperty ^ GetProperty(System::String ^ name);
public virtual System.Runtime.Remoting.Contexts.IContextProperty GetProperty (string name);
[System.Security.SecurityCritical]
public virtual System.Runtime.Remoting.Contexts.IContextProperty GetProperty (string name);
abstract member GetProperty : string -> System.Runtime.Remoting.Contexts.IContextProperty
override this.GetProperty : string -> System.Runtime.Remoting.Contexts.IContextProperty
[<System.Security.SecurityCritical>]
abstract member GetProperty : string -> System.Runtime.Remoting.Contexts.IContextProperty
override this.GetProperty : string -> System.Runtime.Remoting.Contexts.IContextProperty
Public Overridable Function GetProperty (name As String) As IContextProperty
参数
- name
- String
属性的名称。The name of the property.
返回
指定的上下文属性。The specified context property.
- 属性