Share via


MethodInstance Members

Include Protected Members
Include Inherited 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
Public property DefaultDisplayName Gets or sets the default display name. (Inherited from MetadataObject.)
Public property HasReturnTypeDescriptor Gets whether the MethodInstance object has a return TypeDescriptor object.
Public property Id Gets the identifier of the MetadataObject object. (Inherited from MetadataObject.)
Public property IsCached Indicates whether the object is cached. (Inherited from MetadataObject.)
Public property IsDefault Gets or sets whether the MethodInstance object is the default.
Public property LocalizedDisplayName Gets or sets the localized display name. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets the collection of localized display names. (Inherited from MetadataObject.)
Public property Method Gets the Method object associated with this MethodInstance object.
Public property MethodId Gets the method identifier (ID) associated with this MethodInstance object.
Public property MethodInstanceType Gets or sets the type of the MethodInstance object.
Public property Name Gets or sets the name of the object. (Inherited from MetadataObject.)
Public property Properties Gets the property collection of the object. (Inherited from MetadataObject.)
Public property ReturnTypeDescriptor Gets or sets the return type descriptor of the MethodInstance object.

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the object contains a localized display name. (Inherited from MetadataObject.)
Public method 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.)
Public method 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.)
Public method CopyAclToSetting Copies the list of access control entries (ACEs) associated with the metadata object to the object setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method Delete Deletes the MetadataObject. (Inherited from MetadataObject.)
Public method GetAccessControlList() Gets the access control list (ACL) from the containing entity. (Inherited from AccessControlledMetadataObject.)
Public method GetAccessControlList(String) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetAccessControlList(String, Boolean) Gets a list of the individually securable child metadata objects. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Gets the MethodInstance object with the specified identifier (ID).
Public methodStatic member 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.
Public method Read Updates the properties of this method instance from the method instance that is read from the metadata store. (Overrides MetadataObject.Read().)
Protected method ReadCommon This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads the MethodInstance definition from the specified metadata XML for the specified method.
Public method SetAccessControlList(IAccessControlList) Sets the access control list (ACL) for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method SetAccessControlList(IAccessControlList, String) Sets the access control list (ACL) for an individually securable metadata object for the specified setting. (Inherited from IndividuallySecurableMetadataObject.)
Public method ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents) Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.)
Public method 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

See Also

Reference

MethodInstance Class

Microsoft.SharePoint.BusinessData.Administration.Client Namespace