Share via


FileAttribute Class

Represents the attribute of file.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.FileAttribute

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "FileAttribute", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class FileAttribute _
    Inherits DataContractBase
'Usage
Dim instance As FileAttribute
[DataContractAttribute(Name = "FileAttribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class FileAttribute : DataContractBase
[DataContractAttribute(Name = L"FileAttribute", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class FileAttribute : public DataContractBase
[<DataContractAttribute(Name = "FileAttribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type FileAttribute =  
    class 
        inherit DataContractBase 
    end
public class FileAttribute extends DataContractBase

The FileAttribute type exposes the following members.

Constructors

  Name Description
Public method FileAttribute Initializes a new instance of the FileAttribute class.

Top

Properties

  Name Description
Public property Content Gets or sets the binary contents of the file.
Public property ContentType Gets or sets the content type of the file that is or will be stored.
Public property Name Gets or sets the actual name of the file that is or will be stored.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace