# VisioAssetsMasterRelationshipContentFluent

The fluent methods of MasterRelationshipContent, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Modifiers**

static

The fluent methods of [MasterRelationshipContent](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- VisioAssetsMasterRelationshipContentFluent

Filter members 

Show inherited

## Methods

`public static MasterRelationshipContent ContentType(MasterRelationshipContent masterRelationshipContent, string value)` [#](#method-contenttype-officeimo-visio-visioassets-masterrelationshipcontent-string)

Sets [MasterRelationshipContent.ContentType](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Content type of the internal target part, when known.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value string required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { ContentType = value };    masterRelationshipContent.ContentType(value);
```

`public static MasterRelationshipContent Data(MasterRelationshipContent masterRelationshipContent, byte[]? value)` [#](#method-data-officeimo-visio-visioassets-masterrelationshipcontent-byte)

Sets [MasterRelationshipContent.Data](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Raw internal target part bytes.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value byte[]? required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { Data = value };    masterRelationshipContent.Data(value);
```

`public static MasterRelationshipContent Extension(MasterRelationshipContent masterRelationshipContent, string value)` [#](#method-extension-officeimo-visio-visioassets-masterrelationshipcontent-string)

Sets [MasterRelationshipContent.Extension](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): File extension for the copied internal target part.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value string required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { Extension = value };    masterRelationshipContent.Extension(value);
```

`public static MasterRelationshipContent External(MasterRelationshipContent masterRelationshipContent, bool value = true)` [#](#method-external-officeimo-visio-visioassets-masterrelationshipcontent-boolean)

Sets [MasterRelationshipContent.IsExternal](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Whether the relationship points outside the package.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { IsExternal = value };    masterRelationshipContent.External(value);
```

`public static MasterRelationshipContent Id(MasterRelationshipContent masterRelationshipContent, string value)` [#](#method-id-officeimo-visio-visioassets-masterrelationshipcontent-string)

Sets [MasterRelationshipContent.Id](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Relationship id from the source master part.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value string required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { Id = value };    masterRelationshipContent.Id(value);
```

`public static MasterRelationshipContent Target(MasterRelationshipContent masterRelationshipContent, string value)` [#](#method-target-officeimo-visio-visioassets-masterrelationshipcontent-string)

Sets [MasterRelationshipContent.Target](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Original relationship target.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value string required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { Target = value };    masterRelationshipContent.Target(value);
```

`public static MasterRelationshipContent Type(MasterRelationshipContent masterRelationshipContent, string value)` [#](#method-type-officeimo-visio-visioassets-masterrelationshipcontent-string)

Sets [MasterRelationshipContent.Type](/api/visio/officeimo-visio-visioassets-masterrelationshipcontent/): Relationship type URI.

Parameters

**masterRelationshipContent OfficeIMO.Visio.VisioAssets.MasterRelationshipContent required**

The instance.

**value string required**

The value.

Returns

`MasterRelationshipContent` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Visio.VisioAssets.MasterRelationshipContent { Type = value };    masterRelationshipContent.Type(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:BEFDEA86E7B943007A142DED67CAE0E061E69CD5B29BC7CB4A666685C9DE861C -->
