MethodInstance members
Enables reuse of method metadata with different default values for the parameters of the method.
The MethodInstance type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultDisplayName | Gets or sets the default display name. (Inherited from MetadataObject.) | |
HasReturnTypeDescriptor | Gets a Boolean value that indicates whether the current MethodInstance object has a return TypeDescriptor. | |
Id | Gets the identifier of the MetadataObject object. (Inherited from MetadataObject.) | |
IsCached | Indicates whether the object is cached. (Inherited from MetadataObject.) | |
IsDefault | Gets or sets a value specifying whether this is the default method instance. | |
LocalizedDisplayName | Gets or sets the localized display name. (Inherited from MetadataObject.) | |
LocalizedDisplayNames | Gets the collection of localized display names. (Inherited from MetadataObject.) | |
Method | Gets a Method object that represents the current MethodInstance object. | |
MethodId | Gets the method identifier. | |
MethodInstanceType | Gets or sets a MethodInstanceType indicating the type of the current MethodInstance object. | |
Name | Gets or sets the name of the object. (Inherited from MetadataObject.) | |
Properties | Gets the property collection of the object. (Inherited from MetadataObject.) | |
ReturnTypeDescriptor | Gets the return TypeDescriptor for the current MethodInstance object. |
Top
Methods
Name | Description | |
---|---|---|
ContainsLocalizedDisplayName | Indicates whether the object contains a localized display name. (Inherited from MetadataObject.) | |
CopyAclAcrossChildren | Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.) | |
CopyAclAcrossChildrenForSetting | Copies the list of access control entries (ACEs) associated with the metadata object to all of its child metadata objects for the specified setting. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.) | |
CopyAclToSetting | Copies the access control list (ACL) from the default setting to the target setting. (Inherited from IndividuallySecurableMetadataObject.) | |
Delete | Deletes the MetadataObject object. (Inherited from MetadataObject.) | |
GetAccessControlList() | Gets the access control list for this metadata object. (Inherited from AccessControlledMetadataObject.) | |
GetAccessControlList(String) | Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.) | |
GetAccessControlList(String, Boolean) | Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.) | |
GetById | Returns the method instance with the specified identifier from the specified metadata store. | |
MergeXml | Reads the MethodInstance definition from the specified resource XML for the specified method, and then merges its properties, localized names, and access control entries with the existing MethodInstance in the metadata store. | |
Read | Updates the properties of this method instance from the method instance that is read from the metadata store. (Overrides MetadataObject.Read().) | |
ReadCommon | This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.) | |
ReadXml | Reads the MethodInstance definition from the specified metadata XML for the specified method. | |
SetAccessControlList(IAccessControlList) | Sets the access control list (ACL) for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.) | |
SetAccessControlList(IAccessControlList, String) | Sets the access control list (ACL) for an individually securable metadata object for the specified setting. (Inherited from IndividuallySecurableMetadataObject.) | |
ToString | (Inherited from Object.) | |
Update | Updates the object. (Inherited from MetadataObject.) | |
WriteSlicedXml | Writes a sliced XML fragment in the metadata store. (Inherited from MetadataObject.) | |
WriteXml(PackageContents) | Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.) | |
WriteXml(PackageContents, String) | Returns the XML representation of the MetadataObject, which is generated using the properties, localized names, and access control entries from the specified setting. (Inherited from MetadataObject.) |
Top