GetResourcePropAttrib Method
Retrieves a dictionary of key/value pairs that denote the attributes of the specified property of the specified resource.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Public Function GetResourcePropAttrib ( _
strResourceName As String, _
strPropName As String _
) As Dictionary
'Usage
Dim instance As GlobalConfig2FreeThreaded
Dim strResourceName As String
Dim strPropName As String
Dim returnValue As Dictionary
returnValue = instance.GetResourcePropAttrib(strResourceName, _
strPropName)
public Dictionary GetResourcePropAttrib(
string strResourceName,
string strPropName
)
public:
virtual Dictionary^ GetResourcePropAttrib(
String^ strResourceName,
String^ strPropName
) sealed
public final function GetResourcePropAttrib(
strResourceName : String,
strPropName : String
) : Dictionary
Parameters
- strResourceName
Type: System..::.String
The resource name.
- strPropName
Type: System..::.String
The resource property name.
Return Value
Type: Microsoft.CommerceServer.Runtime..::.Dictionary
An object reference to a Dictionary object containing the key/value pairs that denote the attributes of the specified property of the specified resource.
Implements
IGlobalConfig2..::.GetResourcePropAttrib(String, String)
Remarks
The Initialize method must be called before this method can be called.
For more information about the Dictionary object, see Dictionary Object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
GlobalConfig2FreeThreaded Class